{if !$sortby}{ext->get_sortby parent=$el.parent assign="sortby"}{/if}
{*if !$who}
	{ext->get_page_info id=$el.parent assign="who"}
	{assign var="who" value=$who.type}
{/if*}
<table width="175" height="110" cellpadding="0" cellspacing="0"{if !$el.hide}bgcolor="#FDFDFD"{else}bgcolor="#F4F6F7"{/if}>
	<tr>
		<td align="center" style="width: 40px;">
		  {if $sortby == "+pos"}
		  <a href="#" title="{t t='Aukštyn'}" onclick="xajax_set_elements_pos({$el.parent}, 'up', {$el.id}, '{$el.type}', {$elements_page}); return false;"><img src="_tvs_system_core_/design/img/admin/pos_up.gif" alt="" /></a>
		  <a href="#" title="{t t='Žemyn'}" onclick="xajax_set_elements_pos({$el.parent}, 'down', {$el.id}, '{$el.type}', {$elements_page}); return false;"><img src="_tvs_system_core_/design/img/admin/pos_down.gif" alt="" /></a>
		  {elseif $sortby == "-pos"}
		  <a href="#" title="{t t='Aukštyn'}" onclick="xajax_set_elements_pos({$el.parent}, 'down', {$el.id}, '{$el.type}', {$elements_page}); return false;"><img src="_tvs_system_core_/design/img/admin/pos_up.gif" alt="" /></a>
		  <a href="#" title="{t t='Žemyn'}" onclick="xajax_set_elements_pos({$el.parent}, 'up', {$el.id}, '{$el.type}', {$elements_page}); return false;"><img src="_tvs_system_core_/design/img/admin/pos_down.gif" alt="" /></a>
		  {/if}
			<br /><br />
			<input name="ids[]" value="{$el.id}" type="checkbox">
			<br /><br />
			<a href="#" onclick="xajax_set_hide({if $el.hide}0{else}1{/if}, {$el.id}, 'elem'); return false;"><img src="_tvs_system_core_/design/img/admin/_status_{$el.hide}.gif"></a>
		</td>			
		<td style="padding: 5px;" align="center">
		  <div><a href="index.php?admin=1&id={$el.id}&element_list_page_nr={$elements_page}" class="blackNoUnderline" {if !$el.hide}style="color:#989898"{/if}><img src="get.php?i.{if $el.images01}{$el.images01}{elseif $el.Image01}{$el.Image01}{else}0{/if}:w.120:h.70" style="border:2px solid #D6DBDE" align="absmiddle" alt="" /></a></div>
		  <a href="index.php?admin=1&id={$el.id}&element_list_page_nr={$elements_page}" class="blackNoUnderline" {if !$el.hide}style="color:#989898"{/if}><strong>{$el.name|truncate:30}</strong></a>
		</td>
	</tr>
</table>
